﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="myBoard.Calculator.Calculator"
    Height="235" Width="155.103" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
	<UserControl.Resources>
		<ControlTemplate x:Key="ButtonControlTemplate1" TargetType="{x:Type Button}">
			<ControlTemplate.Resources>
				<Storyboard x:Key="OnPreviewMouseDown1">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Duration="00:00:00.0010000">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-180"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="MouseUp">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
			</ControlTemplate.Resources>
			<Grid>
				<Ellipse Stroke="#FF939393">
					<Ellipse.Fill>
						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Fill>
				</Ellipse>
				<Ellipse Stroke="{x:Null}" Margin="3,3,3,3" Width="Auto" Height="Auto" RenderTransformOrigin="0.5,0.5" x:Name="ellipse">
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" ScaleY="1"/>
							<SkewTransform AngleX="0" AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" Y="0"/>
						</TransformGroup>
					</Ellipse.RenderTransform>
					<Ellipse.Fill>
						<LinearGradientBrush EndPoint="0.5,0.702" StartPoint="0.5,1">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Fill>
					<Ellipse.BitmapEffect>
						<BlurBitmapEffect Radius="1"/>
					</Ellipse.BitmapEffect>
				</Ellipse>
				<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
			</Grid>
			<ControlTemplate.Triggers>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseDown">
					<BeginStoryboard Storyboard="{StaticResource OnPreviewMouseDown1}" x:Name="OnPreviewMouseDown1_BeginStoryboard"/>
				</EventTrigger>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseUp">
					<BeginStoryboard Storyboard="{StaticResource MouseUp}" x:Name="MouseUp_BeginStoryboard"/>
				</EventTrigger>
			</ControlTemplate.Triggers>
		</ControlTemplate>
		<ControlTemplate x:Key="ButtonControlTemplate2" TargetType="{x:Type Button}">
			<ControlTemplate.Resources>
				<Storyboard x:Key="OnPreviewMouseDown1">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-180"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="MouseUp">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
			</ControlTemplate.Resources>
			<Grid>
				<Rectangle Stroke="#FF939393" RadiusX="11.5" RadiusY="11.5">
					<Rectangle.Fill>
						<LinearGradientBrush EndPoint="0.5,0.786" StartPoint="0.5,0">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Rectangle.Fill>
				</Rectangle>
				<Rectangle Stroke="{x:Null}" RadiusX="11.5" RadiusY="11.5" Margin="3,3,3,3" RenderTransformOrigin="0.5,0.5" x:Name="rectangle">
					<Rectangle.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" ScaleY="1"/>
							<SkewTransform AngleX="0" AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" Y="0"/>
						</TransformGroup>
					</Rectangle.RenderTransform>
					<Rectangle.BitmapEffect>
						<BlurBitmapEffect Radius="4"/>
					</Rectangle.BitmapEffect>
					<Rectangle.Fill>
						<LinearGradientBrush EndPoint="0.5,0.823" StartPoint="0.5,0.956">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Rectangle.Fill>
				</Rectangle>
				<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
			</Grid>
			<ControlTemplate.Triggers>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseDown">
					<BeginStoryboard Storyboard="{StaticResource OnPreviewMouseDown1}"/>
				</EventTrigger>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseUp">
					<BeginStoryboard Storyboard="{StaticResource MouseUp}" x:Name="MouseUp_BeginStoryboard"/>
				</EventTrigger>
			</ControlTemplate.Triggers>
		</ControlTemplate>
		<ControlTemplate x:Key="ButtonControlTemplate3" TargetType="{x:Type Button}">
			<ControlTemplate.Resources>
				<Storyboard x:Key="OnPreviewMouseDown1">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Duration="00:00:00.0010000">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-180"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="MouseUp">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
			</ControlTemplate.Resources>
			<Grid>
				<Ellipse Stroke="#FF939393">
					<Ellipse.Fill>
						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Fill>
				</Ellipse>
				<Ellipse Stroke="{x:Null}" Margin="3,3,3,3" Width="Auto" Height="Auto" RenderTransformOrigin="0.5,0.5" x:Name="ellipse">
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" ScaleY="1"/>
							<SkewTransform AngleX="0" AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" Y="0"/>
						</TransformGroup>
					</Ellipse.RenderTransform>
					<Ellipse.Fill>
						<LinearGradientBrush EndPoint="0.5,0.702" StartPoint="0.5,1">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Fill>
					<Ellipse.BitmapEffect>
						<BlurBitmapEffect Radius="1"/>
					</Ellipse.BitmapEffect>
				</Ellipse>
				<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
				<Rectangle Fill="#FF6B6B6B" Stroke="{x:Null}" VerticalAlignment="Center" Margin="8,0,8,0" Height="1"/>
				<Ellipse Fill="#FF6B6B6B" Stroke="{x:Null}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,6" Width="2" Height="2"/>
				<Ellipse HorizontalAlignment="Center" Margin="11,6,11,0" VerticalAlignment="Center" Height="2" Fill="#FF6B6B6B" Stroke="{x:Null}" Width="2"/>
			</Grid>
			<ControlTemplate.Triggers>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseDown">
					<BeginStoryboard Storyboard="{StaticResource OnPreviewMouseDown1}" x:Name="OnPreviewMouseDown1_BeginStoryboard"/>
				</EventTrigger>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseUp">
					<BeginStoryboard Storyboard="{StaticResource MouseUp}" x:Name="MouseUp_BeginStoryboard"/>
				</EventTrigger>
			</ControlTemplate.Triggers>
		</ControlTemplate>
		<ControlTemplate x:Key="ButtonControlTemplate4" TargetType="{x:Type Button}">
			<ControlTemplate.Resources>
				<Storyboard x:Key="OnPreviewMouseDown1">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Duration="00:00:00.0010000">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-180"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="MouseUp">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
			</ControlTemplate.Resources>
			<Grid>
				<Ellipse Stroke="#FF939393">
					<Ellipse.Fill>
						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Fill>
				</Ellipse>
				<Ellipse Stroke="{x:Null}" Margin="3,3,3,3" Width="Auto" Height="Auto" RenderTransformOrigin="0.5,0.5" x:Name="ellipse">
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" ScaleY="1"/>
							<SkewTransform AngleX="0" AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" Y="0"/>
						</TransformGroup>
					</Ellipse.RenderTransform>
					<Ellipse.Fill>
						<LinearGradientBrush EndPoint="0.5,0.702" StartPoint="0.5,1">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Fill>
					<Ellipse.BitmapEffect>
						<BlurBitmapEffect Radius="1"/>
					</Ellipse.BitmapEffect>
				</Ellipse>
				<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
				<Rectangle Margin="8,0,8,0" VerticalAlignment="Center" Height="1" Fill="#FF6B6B6B" Stroke="{x:Null}" RenderTransformOrigin="0.5,0.5">
					<Rectangle.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" ScaleY="1"/>
							<SkewTransform AngleX="0" AngleY="0"/>
							<RotateTransform Angle="-45"/>
							<TranslateTransform X="0" Y="0"/>
						</TransformGroup>
					</Rectangle.RenderTransform>
				</Rectangle>
				<Rectangle RenderTransformOrigin="0.5,0.5" Margin="8,11.5,8,11.5" VerticalAlignment="Stretch" Fill="#FF6B6B6B" Stroke="{x:Null}">
					<Rectangle.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" ScaleY="1"/>
							<SkewTransform AngleX="0" AngleY="0"/>
							<RotateTransform Angle="45"/>
							<TranslateTransform X="0" Y="0"/>
						</TransformGroup>
					</Rectangle.RenderTransform>
				</Rectangle>
			</Grid>
			<ControlTemplate.Triggers>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseDown">
					<BeginStoryboard Storyboard="{StaticResource OnPreviewMouseDown1}" x:Name="OnPreviewMouseDown1_BeginStoryboard"/>
				</EventTrigger>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseUp">
					<BeginStoryboard Storyboard="{StaticResource MouseUp}" x:Name="MouseUp_BeginStoryboard"/>
				</EventTrigger>
			</ControlTemplate.Triggers>
		</ControlTemplate>
		<ControlTemplate x:Key="ButtonControlTemplate5" TargetType="{x:Type Button}">
			<ControlTemplate.Resources>
				<Storyboard x:Key="OnPreviewMouseDown1">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Duration="00:00:00.0010000">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-180"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="MouseUp">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
			</ControlTemplate.Resources>
			<Grid>
				<Ellipse Stroke="#FF939393">
					<Ellipse.Fill>
						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Fill>
				</Ellipse>
				<Ellipse Stroke="{x:Null}" Margin="3,3,3,3" Width="Auto" Height="Auto" RenderTransformOrigin="0.5,0.5" x:Name="ellipse">
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" ScaleY="1"/>
							<SkewTransform AngleX="0" AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" Y="0"/>
						</TransformGroup>
					</Ellipse.RenderTransform>
					<Ellipse.Fill>
						<LinearGradientBrush EndPoint="0.5,0.702" StartPoint="0.5,1">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Fill>
					<Ellipse.BitmapEffect>
						<BlurBitmapEffect Radius="1"/>
					</Ellipse.BitmapEffect>
				</Ellipse>
				<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
				<Rectangle Margin="8,0,8,0" VerticalAlignment="Center" Height="1" Fill="#FF6B6B6B" Stroke="{x:Null}"/>
			</Grid>
			<ControlTemplate.Triggers>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseDown">
					<BeginStoryboard Storyboard="{StaticResource OnPreviewMouseDown1}" x:Name="OnPreviewMouseDown1_BeginStoryboard"/>
				</EventTrigger>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseUp">
					<BeginStoryboard Storyboard="{StaticResource MouseUp}" x:Name="MouseUp_BeginStoryboard"/>
				</EventTrigger>
			</ControlTemplate.Triggers>
		</ControlTemplate>
		<ControlTemplate x:Key="ButtonControlTemplate6" TargetType="{x:Type Button}">
			<ControlTemplate.Resources>
				<Storyboard x:Key="OnPreviewMouseDown1">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Duration="00:00:00.0010000">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-180"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="MouseUp">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
			</ControlTemplate.Resources>
			<Grid>
				<Ellipse Stroke="#FF939393">
					<Ellipse.Fill>
						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Fill>
				</Ellipse>
				<Ellipse Stroke="{x:Null}" Margin="3,3,3,3" Width="Auto" Height="Auto" RenderTransformOrigin="0.5,0.5" x:Name="ellipse">
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" ScaleY="1"/>
							<SkewTransform AngleX="0" AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" Y="0"/>
						</TransformGroup>
					</Ellipse.RenderTransform>
					<Ellipse.Fill>
						<LinearGradientBrush EndPoint="0.5,0.702" StartPoint="0.5,1">
							<GradientStop Color="#FFDCDCDC" Offset="0"/>
							<GradientStop Color="#FFFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Fill>
					<Ellipse.BitmapEffect>
						<BlurBitmapEffect Radius="1"/>
					</Ellipse.BitmapEffect>
				</Ellipse>
				<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
				<Rectangle Margin="8,0,8,0" VerticalAlignment="Center" Height="1" Fill="#FF6B6B6B" Stroke="{x:Null}"/>
				<Rectangle Margin="8,11.5,8,11.5" VerticalAlignment="Stretch" Fill="#FF6B6B6B" Stroke="{x:Null}" RenderTransformOrigin="0.5,0.5">
					<Rectangle.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" ScaleY="1"/>
							<SkewTransform AngleX="0" AngleY="0"/>
							<RotateTransform Angle="-90"/>
							<TranslateTransform X="0" Y="0"/>
						</TransformGroup>
					</Rectangle.RenderTransform>
				</Rectangle>
			</Grid>
			<ControlTemplate.Triggers>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseDown">
					<BeginStoryboard Storyboard="{StaticResource OnPreviewMouseDown1}" x:Name="OnPreviewMouseDown1_BeginStoryboard"/>
				</EventTrigger>
				<EventTrigger RoutedEvent="Mouse.PreviewMouseUp">
					<BeginStoryboard Storyboard="{StaticResource MouseUp}" x:Name="MouseUp_BeginStoryboard"/>
				</EventTrigger>
			</ControlTemplate.Triggers>
		</ControlTemplate>
	</UserControl.Resources>
    <Grid x:Name="_root">
            
    	<Grid HorizontalAlignment="Stretch" Margin="0,0,-8.897,0" x:Name="_backSide" VerticalAlignment="Stretch" Width="Auto" Height="Auto"/>
    	<Grid HorizontalAlignment="Stretch" Margin="0,0,0,0" x:Name="_frontSide" VerticalAlignment="Stretch" Width="Auto" Height="Auto">
    		<Border Opacity="0.995" Margin="0,0,0,0" VerticalAlignment="Stretch" Height="Auto" CornerRadius="10,10,10,10">
    			<Border.Background>
    				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    					<GradientStop Color="#FFFFC071" Offset="0"/>
    					<GradientStop Color="#FFFC5F00" Offset="1"/>
    					<GradientStop Color="#FFFB6801" Offset="0.256"/>
    				</LinearGradientBrush>
    			</Border.Background>
    			<Grid>
    				<Border Background="#FF9ACFEF" Margin="6,6,6,0" VerticalAlignment="Top" Height="34.2" BorderThickness="1,1,1,1" CornerRadius="5,5,5,5">
    					<Border.BorderBrush>
    						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    							<GradientStop Color="#FFB9611F" Offset="0"/>
    							<GradientStop Color="#31324049" Offset="1"/>
    						</LinearGradientBrush>
    					</Border.BorderBrush>
    					<Grid VerticalAlignment="Top" Width="141.103" Height="Auto">
    						<Label FontFamily="DS-Digital" FontSize="28" Foreground="#FF22799F" HorizontalAlignment="Right" VerticalAlignment="Center" Height="Auto" Content="0" x:Name="_value" FontStyle="Italic" Padding="5,3,5,0"/>
    						<Border ClipToBounds="True" VerticalAlignment="Top" Height="15" Background="#FFFFFFFF" CornerRadius="5,5,0,0" Opacity="0.35"/>
    					</Grid>
    				</Border>
    				<Border Margin="6,44.2,6,8" CornerRadius="5,5,5,5" BorderThickness="1,1,1,1">
    					<Border.BorderBrush>
    						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    							<GradientStop Color="#FFB9611F" Offset="0"/>
    							<GradientStop Color="#93353535" Offset="1"/>
    						</LinearGradientBrush>
    					</Border.BorderBrush>
    					<Border.Background>
    						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    							<GradientStop Color="#FFEEEEEE" Offset="0"/>
    							<GradientStop Color="#FFBBBBBB" Offset="1"/>
    						</LinearGradientBrush>
    					</Border.Background>
    					<Grid Width="Auto" Height="Auto">
    						<StackPanel HorizontalAlignment="Left" Margin="0,4,0,0" VerticalAlignment="Top" Height="30" Orientation="Horizontal">
    							<Button Foreground="#FF6B6B6B" Template="{DynamicResource ButtonControlTemplate1}" Width="24" Height="24" Content="m+" Margin="4,0,0,0" FontSize="10" x:Name="_op_mp"/>
    							<Button Foreground="#FF6B6B6B" Template="{DynamicResource ButtonControlTemplate1}" Width="24" Height="24" Content="m-" Margin="4,0,0,0" FontSize="10" x:Name="_op_mm"/>
    							<Button Foreground="#FF6B6B6B" Template="{DynamicResource ButtonControlTemplate1}" Width="24" Height="24" Content="mc" Margin="4,0,0,0" FontSize="10" x:Name="_op_mc"/>
    							<Button Foreground="#FF6B6B6B" Template="{DynamicResource ButtonControlTemplate1}" Width="24" Height="24" Content="mr" Margin="4,0,0,0" FontSize="10" x:Name="_op_mr"/>
    						</StackPanel>
    						<WrapPanel HorizontalAlignment="Left" VerticalAlignment="Bottom" Height="148.8">
    							<Button Foreground="#FF6B6B6B" Template="{DynamicResource ButtonControlTemplate1}" Margin="2,0,0,2" Width="34" Height="34" Content="7" x:Name="_num_7"/>
    							<Button Template="{DynamicResource ButtonControlTemplate1}" Width="34" Height="34" Content="8" Foreground="#FF6B6B6B" Margin="4,0,0,2" x:Name="_num_8"/>
    							<Button Template="{DynamicResource ButtonControlTemplate1}" Width="34" Height="34" Content="9" Foreground="#FF6B6B6B" Margin="4,0,0,2" x:Name="_num_9"/>
    							<Button Template="{DynamicResource ButtonControlTemplate1}" Width="34" Height="34" Content="4" Foreground="#FF6B6B6B" Margin="2,0,0,3" x:Name="_num_4"/>
    							<Button Template="{DynamicResource ButtonControlTemplate1}" Width="34" Height="34" Content="5" Foreground="#FF6B6B6B" Margin="4,0,0,3" x:Name="_num_5"/>
    							<Button Template="{DynamicResource ButtonControlTemplate1}" Width="34" Height="34" Content="6" Foreground="#FF6B6B6B" Margin="4,0,0,3" x:Name="_num_6"/>
    							<Button Template="{DynamicResource ButtonControlTemplate1}" Width="34" Height="34" Content="1" Foreground="#FF6B6B6B" Margin="2,0,0,3" x:Name="_num_1"/>
    							<Button Template="{DynamicResource ButtonControlTemplate1}" Width="34" Height="34" Content="2" Foreground="#FF6B6B6B" Margin="4,0,0,3" x:Name="_num_2"/>
    							<Button Template="{DynamicResource ButtonControlTemplate1}" Width="34" Height="34" Content="3" Foreground="#FF6B6B6B" Margin="4,0,0,3" x:Name="_num_3"/>
    							<Button Template="{DynamicResource ButtonControlTemplate1}" Width="34" Height="34" Content="0" Foreground="#FF6B6B6B" Margin="2,0,0,3" x:Name="_num_0"/>
    							<Button Template="{DynamicResource ButtonControlTemplate1}" Width="34" Height="34" Content="," Foreground="#FF6B6B6B" Margin="4,0,0,3" x:Name="_num_comma"/>
    							<Button Template="{DynamicResource ButtonControlTemplate1}" Width="34" Height="34" Content="c" Foreground="#FF6B6B6B" Margin="4,0,0,3" x:Name="_op_reset"/>
    						</WrapPanel>
    						<StackPanel VerticalAlignment="Top" Height="Auto" Orientation="Vertical" d:LayoutOverrides="Width" HorizontalAlignment="Right" Margin="0,7,2,0">
    							<Button Foreground="#FF6B6B6B" Template="{DynamicResource ButtonControlTemplate3}" Width="24" Height="24" Content="" Margin="0,0,0,0" x:Name="_op_div"/>
    							<Button Foreground="#FF6B6B6B" Template="{DynamicResource ButtonControlTemplate4}" Width="24" Height="24" Content="" Margin="0,4,0,0" x:Name="_op_mul"/>
    							<Button Foreground="#FF6B6B6B" Template="{DynamicResource ButtonControlTemplate5}" Width="24" Height="24" Content="" Margin="0,4,0,0" x:Name="_op_minus"/>
    							<Button Foreground="#FF6B6B6B" Template="{DynamicResource ButtonControlTemplate6}" Width="24" Height="24" Content="" Margin="0,4,0,0" x:Name="_op_plus"/>
    							<Button Foreground="#FF6B6B6B" Template="{DynamicResource ButtonControlTemplate2}" Width="24" Height="59" Content="=" Margin="0,4,0,0" x:Name="_op_equal"/>
    						</StackPanel>
    					</Grid>
    				</Border>
    			</Grid>
    		</Border>
    	</Grid>
    	<Grid HorizontalAlignment="Stretch" Margin="0,0,-8.897,0" x:Name="_flipZone" VerticalAlignment="Stretch" Width="Auto" Height="Auto" d:IsHidden="True"/>
            
    </Grid>
</UserControl>
